import request from '@/utils/request'

// 查询领料列表
export function listIssueTask(query) {
	return request({
		url: '/issue/list',
		method: 'get',  
		params: query
	})
}

// 查询领料详情
export function getIssueDetail(query) {
	return request({
		url: '/issue/getIssueDetail',
		method: 'get',  
		params: query
	})
}

// 新增领料申请
export function addIssueTask(data) {
	return request({
		url: '/issue',
		method: 'post',
		data: data
	})
}
